//
//  FragmentationHeader.h
//  
//
//  Created by Henklajd on 5/10/13.
//
//

#ifndef FragmentationHeader
#define FragmentationHeader

#include "ns3/trailer.h"
#include "ac-application.h"


namespace ns3 {
    class FragHeader : public Trailer
    {
    public:
        FragHeader();
        FragHeader(uint32_t,uint32_t);
        
        uint32_t GetData(uint32_t &);
        static TypeId GetTypeId (void);
    private:
        virtual TypeId GetInstanceTypeId (void) const;
        virtual void Print (std::ostream &os) const;
        virtual uint32_t GetSerializedSize (void) const;
        virtual void Serialize (Buffer::Iterator start) const;
        virtual uint32_t Deserialize (Buffer::Iterator start);
        
        
        uint32_t packet_ID;
        uint32_t packet_Seq_Num;
    };

    
    
}
#endif /* defined(____FragmentationHeader__) */
